-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable and fix testConnectAndVerifyWithConnectionCheck #6663
Re-enable and fix testConnectAndVerifyWithConnectionCheck #6663
Conversation
13be217
to
5ed58c2
Compare
5ed58c2
to
09808a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
73a06cb
4dee0fd
to
b7cffbb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @niklasberglund)
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/rule/ForgetAllVpnAppsInSettingsTestRule.kt
line 28 at r3 (raw file):
try { device.findObjectWithTimeout(By.text(FORGET_VPN_VPN_BUTTON_TEXT)).click()
Maybe I misunderstood something, but this means that it will always try to click on both possible texts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Pururun)
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/rule/ForgetAllVpnAppsInSettingsTestRule.kt
line 28 at r3 (raw file):
Previously, Pururun (Jonatan Rhodin) wrote…
Maybe I misunderstood something, but this means that it will always try to click on both possible texts?
The idea is that it first attempts to click "Forget VPN" and "Forget", but if that fails it will instead click "Delete VPN profile" and "DELETE".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/rule/ForgetAllVpnAppsInSettingsTestRule.kt
line 28 at r3 (raw file):
Previously, niklasberglund (Niklas Berglund) wrote…
The idea is that it first attempts to click "Forget VPN" and "Forget", but if that fails it will instead click "Delete VPN profile" and "DELETE".
Right, I missed that it needs to click on the confirm button as well. My bad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
b7cffbb
to
2e280c7
Compare
This PR enables
testConnectAndVerifyWithConnectionCheck
and adds a wait for the out IP address to show before attempting to extract it. It is valid that it in some cases take a while for it to show.There is also a small fix for login button sometimes being pressed before it has been enabled.
This change is